package com.yyq.servicebase.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yyq
 * @create 2021-03-23 22:49
 */
@Data  //生成GETSet方法
@AllArgsConstructor //生成全部属性的构造器
@NoArgsConstructor  //生成无参的构造器
public class YyqException extends RuntimeException {
    private Integer code;
    private String msg;
}
